import Vue from 'vue'
import App from './App.vue'

Vue.config.productionTip = false
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI)
import axios from './axios/index.js';
Vue.prototype.$axios = axios;
import VueRouter from "vue-router";
import router from "./router";
Vue.use(VueRouter);
import Vuex from "vuex";
import store from "./store";
Vue.use(Vuex);
import WangEditor from './components/WangEditor.vue';
Vue.component('WangEditor', WangEditor);
import { EventBus } from './assets/EventBus.js';
Vue.prototype.$EventBus = EventBus;  
new Vue({
  render: h => h(App),
  router,
  store
}).$mount('#app')
